Handle input extension events when making a window native
authorAlexander Larsson <alexl@redhat.com>
Tue, 8 Dec 2009 11:19:00 +0000 (12:19 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 8 Dec 2009 11:22:59 +0000 (12:22 +0100)
commit159214173d2ec626dd0390a5fd0e5beaa6404f6e
treec23030c76d4c58e3118345044c52c025d25a5c67
parentae2a33be2f6dd83bc8fb12fe42f6f2a094c72570
Handle input extension events when making a window native

It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.

We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.

This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624
gdk/gdkwindow.c